import { ORDERSTATUS, PACKAGESTATUS, DeliverType } from '@/basePackage/pages/order/types'
export type OrderRuleEnum = keyof typeof ORDERSTATUS
export type OrderRuleConfig = Record<'title' | 'text' | 'img' | 'bgColor', string>
/**
 * 订单详情状态规则
 * @param {string} tradeClose 订单关闭
 */
export type OrderStatusRule = Record<OrderRuleEnum, OrderRuleConfig>
/**
 * 第一个包裹的物流查询接口返回类型
 */
export interface ApiLogistics01 {
    createTime: string
    deleted: boolean
    expressCompanyCode: string
    expressCompanyName: string
    expressNo: string
    id: string
    orderNo: string
    receiverAddress: string
    receiverMobile: string
    receiverName: string
    remark: string
    shopId: string
    status: keyof typeof PACKAGESTATUS
    type: keyof typeof DeliverType
    updateTime: string
    version: 0
    success: boolean
}
